﻿using System;

namespace SW.Lite.Model.Master
{
    [Serializable]
    public class RoleModel : IModel
    {
        /// <summary>
        /// </summary>
        public RoleModel()
        {
        }

        /// <summary>
        /// </summary>
        /// <param name="id">ID</param>
        /// <param name="code">编码</param>
        /// <param name="title">角色名称</param>
        public RoleModel(int id, string code, string title)
        {
            Id = id;
            Code = code;
            Title = title;
        }

        #region 属性

        /// <summary>
        ///     ID
        /// </summary>
        public int Id { get; set; }


        /// <summary>
        ///     编码
        /// </summary>
        public string Code { get; set; }


        /// <summary>
        ///     角色名称
        /// </summary>
        public string Title { get; set; }

        #endregion
    }
}